package com.txhy.certificatechain.model.bean;

/*
 * -----------------------------------------------------------------
 * Copyright (C) 2018-2030, by your company, All rights reserved.
 * -----------------------------------------------------------------
 * 文    件: ScannerResultBean.java
 * 作    者: 侯建军
 * 版    权: 1.0.0
 * 描    述: 扫描结果bean
 * 创建时间: 2018/9/21 11:40
 * 更新时间：2018/9/21 11:40
 * -----------------------------------------------------------------
 * 2018/9/21 11:40: 创建 ScannerResultBean.java (侯建军);
 * -----------------------------------------------------------------
 */
public class ScannerResultBean {

    /**
     * status : 200
     * msg : 成功
     * data : {"nation":"dsa","sex":"12","updateTime":null,"birthTime":"1990-02-26","office":"建瓯市公安局","userId":"920833112544256","createTime":"2018-09-10T08:45:42.000+0000","cardId":"500225199002260015","validTime":"20120625-20220625","id":920833112544288,"addr":"重庆市大足县龙岗街道双塔路112号2单元7-1","status":1,"username":"郭天亮"}
     */

    private int status;
    private String msg;
    /**
     * nation : dsa
     * sex : 12
     * updateTime : null
     * birthTime : 1990-02-26
     * office : 建瓯市公安局
     * userId : 920833112544256
     * createTime : 2018-09-10T08:45:42.000+0000
     * cardId : 500225199002260015
     * validTime : 20120625-20220625
     * id : 920833112544288
     * addr : 重庆市大足县龙岗街道双塔路112号2单元7-1
     * status : 1
     * username : 郭天亮
     */

    private DataEntity data;

    public void setStatus(int status) {
        this.status = status;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private String nation;
        private String sex;
        private Object updateTime;
        private String birthTime;
        private String office;
        private String userId;
        private String createTime;
        private String cardId;
        private String validTime;
        private long id;
        private String addr;
        private int status;
        private String username;

        public void setNation(String nation) {
            this.nation = nation;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public void setBirthTime(String birthTime) {
            this.birthTime = birthTime;
        }

        public void setOffice(String office) {
            this.office = office;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public void setCardId(String cardId) {
            this.cardId = cardId;
        }

        public void setValidTime(String validTime) {
            this.validTime = validTime;
        }

        public void setId(long id) {
            this.id = id;
        }

        public void setAddr(String addr) {
            this.addr = addr;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getNation() {
            return nation;
        }

        public String getSex() {
            return sex;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public String getBirthTime() {
            return birthTime;
        }

        public String getOffice() {
            return office;
        }

        public String getUserId() {
            return userId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public String getCardId() {
            return cardId;
        }

        public String getValidTime() {
            return validTime;
        }

        public long getId() {
            return id;
        }

        public String getAddr() {
            return addr;
        }

        public int getStatus() {
            return status;
        }

        public String getUsername() {
            return username;
        }
    }
}
